package com.qianji.petmall.order.feign;

import com.qianji.petmall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @author liang zai
 * @date 2022/4/25 11:39
 * @description
 */
@FeignClient("petmall-cart")
public interface CartFeignService {
    @GetMapping("/getCheckItems")
    List<OrderItemVo> getCurrentCartItems() throws ExecutionException, InterruptedException;
}
